﻿@model WebGuiMVC.BllLessonService.BeLesson
@{
    ViewBag.Title = "EditLesson";
    if(TempData["alertMessage"] != null) {
        <script type="text/javascript">
            alert("@TempData["alertMessage"]");
        </script>    
    }
}

<h2>EditLesson</h2>

@using (@Html.BeginForm("EditLesson", "Admin", FormMethod.Post, new { autocomplete = "off" }))
{ 
    @Html.Partial("_AdminPartialView")

    <input type="submit" value="Edit Lesson" class="button" />  
   
}